package com.rtwo.repository;

import com.rtwo.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by hasee on 2017/6/3.
 */
@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo,Long>{

    public UserInfo findByUsername(String username);
}
